/**
 * @Author: zzy
 * @Date: 2019/11/05
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 会员积分兑换券使用查询
export const getList = params => axios.get(`${SERVER.MEMBERS_CLUB}/cashManagement/searchByPhone`, { params });
// 根据手机号，委托单号查询车辆信息
export const getVehicleInfo = params => axios.get(`${SERVER.MEMBERS_CLUB}/cashManagement/searchVehicle`, { params });
// 会员兑换券查询
export const getVouchersByPage = params => axios.get(`${SERVER.MEMBERS_CLUB}/cashManagement/searchByPage`, { params });
// 兑换卷信息上传
export const uploadVoucher = params => axios.post(`${SERVER.MEMBERS_CLUB}/cashManagement/uploadVoucher`, params);
// 获取结算单数据
export const getBalanceList = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/repair/GetClaimsAudiData/getRepairOrder`, { params });
// 兑换卷信息上传
export const sendMsg = params => axios.get(`${SERVER.MEMBERS_CLUB}/cashManagement/sendMsg`, { params });
